package com.szxydb.dmp.admin.system.service;

import com.szxydb.dmp.admin.system.model.TokenModel;
import com.szxydb.dmp.common.CommonResult;

public interface TokenManager {

    TokenModel createToken(String account,String value,String modelName);

    boolean checkToken(String token,String modelName);

    TokenModel getToken(String token,String modelName);

    String getCurrentClienttype(String userno);

    void deleteToken(String token,String modelName);

    Integer getUserCount();

    CommonResult<TokenModel> getOnlineUsers(Integer pageNo,Integer pageSize);

    TokenModel getRealToken(String userno);

    String getLocalInfoException(String key);

    Object getLocalInfo(String key);

    Integer getLocalUserId();
}
